﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PerfTestLib.Spec
{
    /// <summary>
    /// Test specification.
    /// </summary>
    /// <typeparam name="TData"> Test data. </typeparam>
    public class TestSpec<TData>
    {
        /// <summary>
        /// Test spec ID.
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// Test iterations.
        /// </summary>
        public List<TestSpecIteration<TData>> Iterations { get; set; }


        /// <summary>
        /// Ctor.
        /// </summary>
        public TestSpec(string id)
        {
            this.Id = id;
            this.Iterations = new List<TestSpecIteration<TData>>();
        }
    }
}
